package javabase.enum_learn.use_enum;

/**
 * @Auther: luzhanshi
 * @Date: 2021/2/21 - 02 - 21 - 14:47 
 * @Description: javabase.enum_learn.use_enum
 * @version: 1.0
 */
public class Persion {
    private String name;
    private int age;
    private Gender sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Gender getSex() {
        return sex;
    }


    public void setSex(Gender sex) {
        this.sex = sex;
    }


    @Override
    public String toString() {
        return "Persion{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                '}';
    }

}
